/**
  ******************************************************************************
  * @author     Chris
  * @since      2024/6/24 23:22
  *
  * @file       pd_spi_sim.h
  * @brief      Header file of SPI simulate driver.
  *
  * @note       This file contains the SPI object declaration.
  *
  * @warning    None.
  ******************************************************************************
  * Change Logs:
  *   Date          Author       Notes
  *   2024/6/24     Chris        the first version
  *
  ******************************************************************************
  */


#ifndef JLC_SKY_SPI_SIM_H
#define JLC_SKY_SPI_SIM_H

#include "pd_spi.h"
#include "pd_spi_io.h"
#include "drivers.h"

typedef struct SPISimulateDef SPISimulate;

struct SPISimulateDef {
    SPI spi;
};

extern const struct SPISimulateClass {
    SPISimulate *(*build)(SPIGPIO *spiGPIO);
} SPISimulateBuilder;


#endif //JLC_SKY_SPI_SIM_H
